package com.dinglexiao.dto;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * @author dingl
 * @ClassName : AccountDTO
 * @Description : 账户DTO
 * @date 2020/9/18-9:44
 */
@Data
public class AccountDTO {

    @NotBlank(message = "用户名不能为空！")
    private String username;

    @NotBlank(message = "密码不能为空！")
    private String password;
}
